# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'translatekit.ui'
#
# Created: Sun Jan 10 23:39:45 2010
#      by: PyQt4 UI code generator 4.4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(781, 619)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(0, 0))
        MainWindow.setMaximumSize(QtCore.QSize(20000, 20000))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/tkit/icon/46.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.groupBox_3 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_3.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setCheckable(False)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.tabs = QtGui.QTabWidget(self.groupBox_3)
        self.tabs.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabs.sizePolicy().hasHeightForWidth())
        self.tabs.setSizePolicy(sizePolicy)
        self.tabs.setMinimumSize(QtCore.QSize(0, 0))
        self.tabs.setMaximumSize(QtCore.QSize(200000, 200000))
        self.tabs.setSizeIncrement(QtCore.QSize(0, 0))
        self.tabs.setBaseSize(QtCore.QSize(0, 0))
        self.tabs.setMouseTracking(True)
        self.tabs.setAcceptDrops(True)
        self.tabs.setAutoFillBackground(False)
        self.tabs.setTabPosition(QtGui.QTabWidget.North)
        self.tabs.setTabShape(QtGui.QTabWidget.Triangular)
        self.tabs.setIconSize(QtCore.QSize(21, 21))
        self.tabs.setElideMode(QtCore.Qt.ElideNone)
        self.tabs.setUsesScrollButtons(True)
        self.tabs.setObjectName("tabs")
        self.dictTab = QtGui.QWidget()
        self.dictTab.setObjectName("dictTab")
        self.verticalLayout = QtGui.QVBoxLayout(self.dictTab)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtGui.QGroupBox(self.dictTab)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 150))
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.source = QtGui.QPlainTextEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.source.sizePolicy().hasHeightForWidth())
        self.source.setSizePolicy(sizePolicy)
        self.source.setMinimumSize(QtCore.QSize(0, 135))
        self.source.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.source.setObjectName("source")
        self.gridLayout_4.addWidget(self.source, 0, 0, 4, 1)
        self.transApi = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.transApi.sizePolicy().hasHeightForWidth())
        self.transApi.setSizePolicy(sizePolicy)
        self.transApi.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.transApi.setObjectName("transApi")
        self.transApi.addItem(QtCore.QString())
        self.transApi.addItem(QtCore.QString())
        self.gridLayout_4.addWidget(self.transApi, 0, 1, 1, 3)
        self.dest = QtGui.QPlainTextEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dest.sizePolicy().hasHeightForWidth())
        self.dest.setSizePolicy(sizePolicy)
        self.dest.setMinimumSize(QtCore.QSize(320, 135))
        self.dest.setObjectName("dest")
        self.gridLayout_4.addWidget(self.dest, 0, 4, 4, 1)
        self.langFrom = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.langFrom.sizePolicy().hasHeightForWidth())
        self.langFrom.setSizePolicy(sizePolicy)
        self.langFrom.setObjectName("langFrom")
        self.gridLayout_4.addWidget(self.langFrom, 1, 1, 1, 3)
        self.langType = QtGui.QToolButton(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.langType.sizePolicy().hasHeightForWidth())
        self.langType.setSizePolicy(sizePolicy)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/tkit/icon/31.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.langType.setIcon(icon1)
        self.langType.setObjectName("langType")
        self.gridLayout_4.addWidget(self.langType, 2, 1, 1, 1)
        self.translate = QtGui.QPushButton(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.translate.sizePolicy().hasHeightForWidth())
        self.translate.setSizePolicy(sizePolicy)
        self.translate.setIcon(icon)
        self.translate.setObjectName("translate")
        self.gridLayout_4.addWidget(self.translate, 2, 2, 1, 1)
        self.transClear = QtGui.QPushButton(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.transClear.sizePolicy().hasHeightForWidth())
        self.transClear.setSizePolicy(sizePolicy)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/tkit/icon/28.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.transClear.setIcon(icon2)
        self.transClear.setObjectName("transClear")
        self.gridLayout_4.addWidget(self.transClear, 2, 3, 1, 1)
        self.langInto = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.langInto.sizePolicy().hasHeightForWidth())
        self.langInto.setSizePolicy(sizePolicy)
        self.langInto.setObjectName("langInto")
        self.gridLayout_4.addWidget(self.langInto, 3, 1, 1, 3)
        self.verticalLayout.addWidget(self.groupBox)
        self.content = QtGui.QPlainTextEdit(self.dictTab)
        self.content.setObjectName("content")
        self.verticalLayout.addWidget(self.content)
        self.groupBox_2 = QtGui.QGroupBox(self.dictTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.stags = QtGui.QComboBox(self.groupBox_2)
        self.stags.setEditable(True)
        self.stags.setObjectName("stags")
        self.horizontalLayout_3.addWidget(self.stags)
        self.save = QtGui.QPushButton(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.save.sizePolicy().hasHeightForWidth())
        self.save.setSizePolicy(sizePolicy)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/tkit/icon/13.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.save.setIcon(icon3)
        self.save.setObjectName("save")
        self.horizontalLayout_3.addWidget(self.save)
        self.blog = QtGui.QComboBox(self.groupBox_2)
        self.blog.setObjectName("blog")
        self.blog.addItem(QtCore.QString())
        self.horizontalLayout_3.addWidget(self.blog)
        self.blogCategories = QtGui.QComboBox(self.groupBox_2)
        self.blogCategories.setObjectName("blogCategories")
        self.blogCategories.addItem(QtCore.QString())
        self.horizontalLayout_3.addWidget(self.blogCategories)
        self.postblog = QtGui.QPushButton(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.postblog.sizePolicy().hasHeightForWidth())
        self.postblog.setSizePolicy(sizePolicy)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/tkit/icon/44.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.postblog.setIcon(icon4)
        self.postblog.setObjectName("postblog")
        self.horizontalLayout_3.addWidget(self.postblog)
        self.verticalLayout.addWidget(self.groupBox_2)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/tkit/icon/57.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabs.addTab(self.dictTab, icon5, "")
        self.docTab = QtGui.QWidget()
        self.docTab.setObjectName("docTab")
        self.gridLayout = QtGui.QGridLayout(self.docTab)
        self.gridLayout.setObjectName("gridLayout")
        self.doclist = QtGui.QListWidget(self.docTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.doclist.sizePolicy().hasHeightForWidth())
        self.doclist.setSizePolicy(sizePolicy)
        self.doclist.setMovement(QtGui.QListView.Snap)
        self.doclist.setProperty("isWrapping", QtCore.QVariant(False))
        self.doclist.setResizeMode(QtGui.QListView.Adjust)
        self.doclist.setSpacing(0)
        self.doclist.setGridSize(QtCore.QSize(0, 20))
        self.doclist.setViewMode(QtGui.QListView.ListMode)
        self.doclist.setWordWrap(True)
        self.doclist.setObjectName("doclist")
        self.gridLayout.addWidget(self.doclist, 1, 0, 1, 3)
        self.search = QtGui.QPushButton(self.docTab)
        self.search.setIcon(icon)
        self.search.setObjectName("search")
        self.gridLayout.addWidget(self.search, 0, 2, 1, 1)
        self.tags = QtGui.QComboBox(self.docTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tags.sizePolicy().hasHeightForWidth())
        self.tags.setSizePolicy(sizePolicy)
        self.tags.setMinimumSize(QtCore.QSize(120, 0))
        self.tags.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.tags.setEditable(True)
        self.tags.setObjectName("tags")
        self.gridLayout.addWidget(self.tags, 0, 1, 1, 1)
        self.keyword = QtGui.QLineEdit(self.docTab)
        self.keyword.setObjectName("keyword")
        self.gridLayout.addWidget(self.keyword, 0, 0, 1, 1)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/tkit/icon/23.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabs.addTab(self.docTab, icon6, "")
        self.wordTab = QtGui.QWidget()
        self.wordTab.setObjectName("wordTab")
        self.gridLayout_3 = QtGui.QGridLayout(self.wordTab)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.wordlist = QtGui.QListWidget(self.wordTab)
        self.wordlist.setMaximumSize(QtCore.QSize(200, 16777215))
        self.wordlist.setObjectName("wordlist")
        self.gridLayout_3.addWidget(self.wordlist, 0, 0, 2, 1)
        self.wordkey = QtGui.QLineEdit(self.wordTab)
        self.wordkey.setObjectName("wordkey")
        self.gridLayout_3.addWidget(self.wordkey, 0, 1, 1, 1)
        self.wordTable = QtGui.QTableWidget(self.wordTab)
        self.wordTable.setObjectName("wordTable")
        self.wordTable.setColumnCount(3)
        self.wordTable.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.wordTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.wordTable.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.wordTable.setHorizontalHeaderItem(2, item)
        self.gridLayout_3.addWidget(self.wordTable, 1, 1, 1, 1)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/tkit/icon/21.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabs.addTab(self.wordTab, icon7, "")
        self.horizontalLayout.addWidget(self.tabs)
        self.horizontalLayout_2.addWidget(self.groupBox_3)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 781, 18))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tabs.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.transApi.setItemText(0, QtGui.QApplication.translate("MainWindow", "google-api", None, QtGui.QApplication.UnicodeUTF8))
        self.transApi.setItemText(1, QtGui.QApplication.translate("MainWindow", "dict.cn", None, QtGui.QApplication.UnicodeUTF8))
        self.langType.setText(QtGui.QApplication.translate("MainWindow", "-->", None, QtGui.QApplication.UnicodeUTF8))
        self.translate.setText(QtGui.QApplication.translate("MainWindow", "翻译", None, QtGui.QApplication.UnicodeUTF8))
        self.save.setText(QtGui.QApplication.translate("MainWindow", "保存", None, QtGui.QApplication.UnicodeUTF8))
        self.blog.setItemText(0, QtGui.QApplication.translate("MainWindow", "博客", None, QtGui.QApplication.UnicodeUTF8))
        self.blogCategories.setItemText(0, QtGui.QApplication.translate("MainWindow", "分类", None, QtGui.QApplication.UnicodeUTF8))
        self.postblog.setText(QtGui.QApplication.translate("MainWindow", "发布", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.dictTab), QtGui.QApplication.translate("MainWindow", "翻译", None, QtGui.QApplication.UnicodeUTF8))
        self.search.setText(QtGui.QApplication.translate("MainWindow", "搜索", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.docTab), QtGui.QApplication.translate("MainWindow", "文档库", None, QtGui.QApplication.UnicodeUTF8))
        self.wordTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "英语", None, QtGui.QApplication.UnicodeUTF8))
        self.wordTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("MainWindow", "简体中文", None, QtGui.QApplication.UnicodeUTF8))
        self.wordTable.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("MainWindow", "繁体中文", None, QtGui.QApplication.UnicodeUTF8))
        self.tabs.setTabText(self.tabs.indexOf(self.wordTab), QtGui.QApplication.translate("MainWindow", "术语库", None, QtGui.QApplication.UnicodeUTF8))

import translatekit_rc

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

